From: Jonas Dreßler Date: Wed, 15 Jan 2020 16:04:07 +0000 (+0100) Subject: switcherPopup: Use correct scroll-direction property X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~772^2^2~23 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=023859ee4bb2e0e1521d3cd668ddc3b79873c295;p=gnome-shell.git switcherPopup: Use correct scroll-direction property The correct property for the scroll-direction with scrolling events is `direction`, no `scroll_direction`. This fixes scrolling in the alt-tab popup, which broke with the actorization changes. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/167 --- diff --git a/js/ui/switcherPopup.js b/js/ui/switcherPopup.js index f9888d4f5..23d74ff39 100644 --- a/js/ui/switcherPopup.js +++ b/js/ui/switcherPopup.js @@ -230,7 +230,7 @@ var SwitcherPopup = GObject.registerClass({ vfunc_scroll_event(scrollEvent) { this._disableHover(); - this._scrollHandler(scrollEvent.scroll_direction); + this._scrollHandler(scrollEvent.direction); return Clutter.EVENT_PROPAGATE; }